﻿@model IEnumerable<shop.DanhMuc> 
 

<select name="MaDM">
    <option  value="">Không chọn</option>
    @foreach (var item in Model)
    {
        <optgroup label="@item.DanhMuc1"></optgroup>
        @Html.Action("DropMenuConDM", "Partial", new { type = ViewBag.type, IDcha = item.IDCha, ty = "2", MaDM = ViewBag.MaDM })
               
    }
</select> 